package com.neusoft.actor.service;

import com.neusoft.actor.po.Client;
import com.neusoft.actor.po.ResponseBean;

import java.util.List;

public interface ClientService {
//    查询客户信息列表
    ResponseBean<List<Client>> getAllClients();
//    **按id查询客户，可能暂时没用**
    ResponseBean<Client> getClientById(Integer clientId);
//    按姓名查询信息
    ResponseBean<Client> getClientByName(String clientName);
//    添加客户入住信息
    ResponseBean<Integer> addClient(Client client);
//    修改客户入住信息
    ResponseBean<Integer> updateClient(Client client);
//    删除客户信息
    ResponseBean<Integer> deleteClient(Integer clientId);
//    条件查询客户信息
    ResponseBean<List<Client>> getClientsByCondition(String clientName, String isSelfCare);
    ResponseBean<List<Client>> getClientsWithoutCaretaker(String clientName);
    ResponseBean<List<Client>> getClientsByCaretaker(Integer caretakerId, String clientName);
}